body {
    background: #EEE !important;
}

h2 {
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 2px solid #D55136;
}

h3 {
    border-bottom: 1px solid #D55136;
}

h4 {
    padding-bottom: 10px;
}

input[type="file"] {
    width: 206px;
}

table td {
    vertical-align: top;
}
table th {
    text-align: left;
    padding-right: 15px;
}

select {
    width: 220px;
}

input.error, select.error, textarea.error {
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
input.error:focus, textarea.error:focus {
    border-color: #b94a48;
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(185,74,72,0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(185,74,72,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(185,74,72,0.6);
}
select.condensed {
    margin-bottom: 0px;
    padding: 2px 2px;
    height: 24px;
}
select.error:focus {
    outline-color: #b94a48;
}
span.error {
    display: block;
    font-size: .9em;
    color: #b94a48;
    max-width: 206px;
    margin-top: -10px;
    margin-bottom: 10px;
}
span.required {
    color: #b94a48;
}
table.table > tbody > tr> td {
    vertical-align: middle;
}
label.label {
    margin: 0;
}
label.strong {
    font-weight: 900;
}
p.thin {
    font-weight: 100;
    color: #aaa;
}

#header {
    background: url('../images/header_bg.png') repeat-x;
    height: 100px;
}

.box {
    margin: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #fff;
}

.rounded {
    border-radius: .3em;
    -webkit-border-radius: .3em;
    -moz-border-radius: .3em;
    -o-border-radius: .3em;
}

#step_by_step_form table tr td,
table.table-form tr td{
    vertical-align: top;
    padding-left: 60px;
}
#step_by_step_form table tr td:last-child {
    padding-right: 60px;
}

.hline {
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #D55136;
}

.resized-picture-parent img {
    width: 200px;
    height: 200px;
}

small.help {
    display: block;
    width: 206px;
    margin-top: -10px;
    margin-bottom: 10px;
    color: #E66D14;
    overflow: auto;
}

.steps {
    margin-left: 20px;
}

.steps ul {
    list-style: none;
}

.steps li {
    width: 119px;
    height: 17px;
    display: inline-block;
    position: relative;    
    padding: 15px 0px 15px 15px;
    margin: 0px -14px 0px -12px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: .9em;
    color: #aaa;
    text-align: center;
    background: url('images/arrow-sprite.png') no-repeat 0px -47px;
}

.steps li:first-child {
    margin: 0px -20px 0px -40px;
    padding: 15px 0px 15px 0px;
    background: url('images/arrow-sprite.png') no-repeat 0px 0px;
}

.steps li:last-child {
    background: url('images/arrow-sprite.png') no-repeat 0px -94px;
}

.steps li.active-step {
    color: #fff;
    text-shadow: 1px 1px 3px #aaa;
    background: url('images/arrow-sprite.png') no-repeat 0px -188px !important;
}

.steps li:first-child.active-step {
    background: url('images/arrow-sprite.png') no-repeat 0px -141px !important;
}

.steps li:last-child.active-step {
    background: url('images/arrow-sprite.png') no-repeat 0px -235px !important;
}

tr.embed td table {
    display: block;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -o-border-radius: .5em;
}
.column-header {
    margin: 2px 10px;
    border-bottom: 1px solid #BA513A;
}
.navbar ul > li {
    list-style: none;
}
ul.nav-tabs > li {
    list-style: none;
}
div.dropdown-menu ul {
    display: inline-block;
    width: 215px;
    margin: 0 0 10px 15px;
    vertical-align: top;
}

ul.error_list {
    margin: 5px 0;
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0;
    background-image: none !important;
}
ul.error_list > li {
    padding: 0px 5px;
    list-style: none;
}
.sf_admin_foreignkey button.btn-mini {
    display: block;
    margin: 5px 0;
}
.no-border {
    border: 0;
}
table.table.no-border th, table.table.no-border td {
    border: 0;
}

.block {
    display: block;
}

#steps {
    display: block;
}
#res-step {
    display: none;
    margin-bottom: 5px;
}

.dropdown-menu li>a:hover, .dropdown-menu li>a:focus, .dropdown-submenu:hover>a {
    color: #fff;
    text-decoration: none;
    background: #e5b355;
    background: -moz-linear-gradient(top,  #e5b355 0%, #d98f2e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5b355), color-stop(100%,#d98f2e));
    background: -webkit-linear-gradient(top,  #e5b355 0%,#d98f2e 100%);
    background: -o-linear-gradient(top,  #e5b355 0%,#d98f2e 100%);
    background: -ms-linear-gradient(top,  #e5b355 0%,#d98f2e 100%);
    background: linear-gradient(to bottom,  #e5b355 0%,#d98f2e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5b355', endColorstr='#d98f2e',GradientType=0 );
}

@media (max-width: 800px) {
    #steps {
        display: none;
    }
    #res-step {
        display: block;
    }
}

@media (max-width: 600px) {

    #step_by_step_form table tr td {
        padding-left: 10px;
    }

    table td {
        display: block;
    }

    .well {
        padding: 1px;
    }

    input[type="text"],
    select {
        width: auto;
    }
}